package it.uniba.di.collab.jazzfeed.common.model.query.impl;

import com.ibm.team.repository.common.internal.querypath.IQueryPath;
import com.ibm.team.repository.common.internal.querypath.StringField;
import com.ibm.team.repository.common.model.query.impl.SimpleItemQueryModelImpl;
import it.uniba.di.collab.jazzfeed.common.model.query.BaseUserQueryModel.ManyUserQueryModel;
import it.uniba.di.collab.jazzfeed.common.model.query.BaseUserQueryModel.UserQueryModel;
import java.util.List;
import java.util.Map;

/**
 * @generated
 */
public class UserQueryModelImpl extends SimpleItemQueryModelImpl implements ManyUserQueryModel, UserQueryModel 
{

	/** @generated */
	private StringField login;

 	/**
     * @param anExtent the parent query element
     * @param aField the name of the parent's feature that this model represents
	 * @generated
	 */
	public UserQueryModelImpl(IQueryPath anExtent, String aField) {
		super(anExtent,  aField);
		_implementation.setItemType("User", "it.uniba.di.collab.jazzfeed"); //$NON-NLS-1$ //$NON-NLS-2$
	}

	/**
 	 * @generated
	 */
	public StringField login() {
		return login;
	}

	/**
	 * @generated
	 * @Override
	 */
	protected void initProperties(List allFieldNames, List allReferenceNames, Map allFields) {
		super.initProperties(allFieldNames, allReferenceNames, allFields);

		login = new StringField(_implementation, "login"); //$NON-NLS-1$
		allFieldNames.add("login"); //$NON-NLS-1$
		allFields.put("login", login); //$NON-NLS-1$
	}

}